import request from '@/utils/request'

// 查询订单列表
export function listOrder(query) {
  return request({
    url: '/applet/order/list',
    method: 'get',
    params: query
  })
}

export function getOrder(id) {
  return request({
    url: `/applet/order/${id}`,
    method: 'get',
  })
}